package reggie.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.stereotype.Service;
import reggie.dto.DishDto;
import reggie.dto.SetmealDto;
import reggie.entity.Setmeal;

import java.util.List;


public interface SetmealService extends IService<Setmeal> {
    /**
     *新增套餐，保存套餐和菜品的关联关系
     * @param setmealDto
     */
    public void saveWithSetmeal(SetmealDto setmealDto);

    public SetmealDto getWithSetmeal(Long id);

    public void  updateWithSetmeal(SetmealDto setmealDto);

    public void deleteWithSetmeal(List<Long> ids);

}
